﻿using SheepCultivation.Common.Dto;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SheepCultivation.Common.Domain.Sheep
{
    /// <summary>
    /// 种母羊只历史表
    /// </summary>
    public class SheepHistory : SheepType
    {
        /// <summary>
        /// 序号Id
        /// </summary>
        [Key]
        public int SheepHistoryId { get; set; }
        /// <summary>
        /// 种母耳号
        /// </summary>
        public string? SheepHistoryFemaleEarNumber { get; set; }
        /// <summary>
        /// 配种日期
        /// </summary>
        public DateTime SheepHistoryDate { get; set; }
        /// <summary>
        /// 种公耳号
        /// </summary>
        public string? SheepHistoryMaleEarNumber { get; set; }
        /// <summary>
        /// 妊检日期
        /// </summary>
        public DateTime SheepHistoryPregnancyDate { get; set; }
        /// <summary>
        /// 妊检结果
        /// </summary>
        public string? SheepHistoryPregnancyResult { get; set; }
        /// <summary>
        /// 分娩日期
        /// </summary>
        public DateTime SheepHistoryChildbirthDate { get; set; }
        /// <summary>
        /// 健羔总重
        /// </summary>
        public decimal LiveSheepWeight { get; set; }
        /// <summary>
        /// 当前胎次
        /// </summary>
        public int FetusTimeNum { get; set; }
        /// <summary>
        /// 断奶日期
        /// </summary>
        public DateTime WeaningDate { get; set; }
        /// <summary>
        /// 断奶只数
        /// </summary>
        public int WeaningNum { get; set; }
        /// <summary>
        /// 断奶窝重
        /// </summary>
        public decimal WeaningLitterWeight { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? WeaningLitterInformation { get; set; }
        /// <summary>
        /// 判断删除
        /// </summary>
        public bool IsDelete { get; set; }

    }
}
